﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using KPIS.GERP.Models.SYS;

namespace KPIS.GERP.OMVC.Models
{
    public class MenuItemEnhanced : MenuItemsList
    {
        public MenuItemEnhanced(MenuItemsList m)
        {
            MenuItemId = m.MenuItemId;
            Code = m.Code;
            Name = m.Name;
            UpperMenuItemId = m.UpperMenuItemId;
            Path = m.Path;
            Target = m.Target;
            SystemId = m.SystemId;
            RecordStatus = m.RecordStatus;
            SubItems = new List<MenuItemEnhanced>();
        }

        public List<MenuItemEnhanced> SubItems { get; set; }
    }
}